package com.deliveryservicesystem.service;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * File Name: ServiceTemplate.java
 * Version:
 * Description:
 * Package: com.deliveryservicesystem.service.crud
 * Author: Lance
 * Date: Jun 19, 2012
 * Editor:
 *
 * @param <TYPE> the model type to apply to the templet
 */
public interface ServiceTemplate<TYPE>
{

    /**
     * Get all the data from database table
     *
     * @return ResultSet
     * @throws SQLException
     */
    public ResultSet getAllTableData() throws SQLException;
}